const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    
    port: 1888,
    proxy: {
      '/api': {
        target: 'https://springboot-97td-128106-8-1317982932.sh.run.tcloudbase.com',
        
        //远程演示服务地址,可用于直接启动项目
        // target: 'https://saber.bladex.vip/api',
        // ws: true,
        pathRewrite: {
          '^/api': '/'
        }
      }
    }
  }
})
